package com.emergency.base.domain;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by 92924 on 2020/3/16.
 */
@Entity
@Table(name="bus_file")
public class File extends BaseEntity{

    /**附件名*/
    private String name;
    /**附件路径*/
    private String src;
    /**附件大小，单位Kb*/
    private Long size;
    /**附件类型,1图片，2视频*/
    private int type;
    /**附件属性,1文书附件*/
    private int attr;
    /**主表Id*/
    private Long attId;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSrc() {
        return src;
    }

    public void setSrc(String src) {
        this.src = src;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getAttr() {
        return attr;
    }

    public void setAttr(int attr) {
        this.attr = attr;
    }

    public Long getAttId() {
        return attId;
    }

    public void setAttId(Long attId) {
        this.attId = attId;
    }
}
